package com.newspublish.system.service;

import com.newspublish.system.entity.system.ImpeachNews;
import com.newspublish.system.utils.result.Result;

public interface ImpeachNewsService {

    //获取举报信息
    public Result selectImpeachNews();

    //根据id获取举报信息
    public Result selectImpeachNewsById(Integer id);

    //举报违规新闻
    public Result impeachNews(ImpeachNews impeachNews);

    //审核违规新闻
    public Result auditor(ImpeachNews reportNews);

    //根据举报人的名称获取举报信息
    public Result getByWhistleblower();

}
